package com.novellotus.iov.carvice.bean;

import java.util.List;

/**
 * Created by Rich on 2018/1/11.
 */

public class RxDiagnosisChart {

    /**
     * code : total_voltage
     * name : 总电压（V）
     * values : [{"value":515.8,"collectTime":1508140723000},{"value":518.4,"collectTime":1508140223000},{"value":613,"collectTime":1506410309000},{"value":517.2,"collectTime":1508140653000},{"value":518.6,"collectTime":1508140293000},{"value":513.6,"collectTime":1508140583000},{"value":516.5,"collectTime":1508140363000},{"value":615,"collectTime":1506410239000},{"value":626,"collectTime":1506410099000},{"value":505.4,"collectTime":1508140513000},{"value":517.6,"collectTime":1508140433000},{"value":619,"collectTime":1506410169000},{"value":636,"collectTime":1506410059000},{"value":518.3,"collectTime":1508140183000},{"value":518.5,"collectTime":1508140253000},{"value":612,"collectTime":1506410349000},{"value":516.7,"collectTime":1508140693000},{"value":515.9,"collectTime":1508140623000},{"value":515.3,"collectTime":1508140323000},{"value":614,"collectTime":1506410279000},{"value":514.6,"collectTime":1508140553000},{"value":498.5,"collectTime":1508140393000},{"value":617,"collectTime":1506410209000},{"value":633,"collectTime":1506410069000},{"value":515.1,"collectTime":1508140483000},{"value":503.6,"collectTime":1508140463000},{"value":621,"collectTime":1506410139000},{"value":510.2,"collectTime":1508140733000},{"value":518.4,"collectTime":1508140213000},{"value":612,"collectTime":1506410319000},{"value":503.5,"collectTime":1508140663000},{"value":518.6,"collectTime":1508140283000},{"value":516.7,"collectTime":1508140593000},{"value":493.3,"collectTime":1508140353000},{"value":615,"collectTime":1506410249000},{"value":625,"collectTime":1506410109000},{"value":510.9,"collectTime":1508140523000},{"value":515.6,"collectTime":1508140423000},{"value":618,"collectTime":1506410179000},{"value":589,"collectTime":1506410049000},{"value":518.3,"collectTime":1508140173000},{"value":515.2,"collectTime":1508140703000},{"value":518.5,"collectTime":1508140243000},{"value":507,"collectTime":1508140633000},{"value":518.6,"collectTime":1508140313000},{"value":613,"collectTime":1506410289000},{"value":502,"collectTime":1508140563000},{"value":517.4,"collectTime":1508140383000},{"value":616,"collectTime":1506410219000},{"value":630,"collectTime":1506410079000},{"value":516.5,"collectTime":1508140493000},{"value":500.5,"collectTime":1508140453000},{"value":620,"collectTime":1506410149000},{"value":513.2,"collectTime":1508140743000},{"value":518.4,"collectTime":1508140203000},{"value":518.6,"collectTime":1508140273000},{"value":612,"collectTime":1506410329000},{"value":509.8,"collectTime":1508140673000},{"value":515.7,"collectTime":1508140603000},{"value":510.8,"collectTime":1508140343000},{"value":614,"collectTime":1506410259000},{"value":513.7,"collectTime":1508140533000},{"value":515.9,"collectTime":1508140413000},{"value":618,"collectTime":1506410189000},{"value":589,"collectTime":1506410039000},{"value":518.2,"collectTime":1508140163000},{"value":623,"collectTime":1506410119000},{"value":513.6,"collectTime":1508140713000},{"value":518.4,"collectTime":1508140233000},{"value":513.9,"collectTime":1508140643000},{"value":518.6,"collectTime":1508140303000},{"value":613,"collectTime":1506410299000},{"value":499.5,"collectTime":1508140573000},{"value":513.8,"collectTime":1508140373000},{"value":616,"collectTime":1506410229000},{"value":628,"collectTime":1506410089000},{"value":501,"collectTime":1508140503000},{"value":498.1,"collectTime":1508140443000},{"value":620,"collectTime":1506410159000},{"value":513.6,"collectTime":1508140753000},{"value":518.4,"collectTime":1508140193000},{"value":518.5,"collectTime":1508140263000},{"value":612,"collectTime":1506410339000},{"value":502.7,"collectTime":1508140683000},{"value":515.7,"collectTime":1508140613000},{"value":505.1,"collectTime":1508140333000},{"value":614,"collectTime":1506410269000},{"value":515.4,"collectTime":1508140543000},{"value":501.8,"collectTime":1508140403000},{"value":617,"collectTime":1506410199000},{"value":588,"collectTime":1506410029000},{"value":515.6,"collectTime":1508140473000},{"value":622,"collectTime":1506410129000}]
     */

    private String code;
    private String name;
    private List<ValuesBean> values;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ValuesBean> getValues() {
        return values;
    }

    public void setValues(List<ValuesBean> values) {
        this.values = values;
    }

    public static class ValuesBean {
        /**
         * value : 515.8
         * collectTime : 1508140723000
         */

        private float value;
        private long collectTime;

        public float getValue() {
            return value;
        }

        public void setValue(float value) {
            this.value = value;
        }

        public long getCollectTime() {
            return collectTime;
        }

        public void setCollectTime(long collectTime) {
            this.collectTime = collectTime;
        }
    }
}
